package com.wl.cloud.security.register;

import com.wl.cloud.security.model.LoginUserDetails;

import java.util.List;

/**
 * @author: wanglin
 * @date: 2023-11-08 周三
 * @Version: 1.0
 * @Description:
 */
public interface LoginUserRegistry {
    List<LoginUserDetails> getAllLoginUsers();

    List<String> getAllUserKeys();

    LoginUserDetails getLoginUser(String username);

    void registerNewLoginUser(LoginUserDetails userDetails);

    void registerNewLoginUser(String username, LoginUserDetails userDetails);

    void removeLoginUser(String username);
}
